const { sequelize } = require('../db')
const { Sequelize, Model } = require('sequelize')

class User extends Model {}

User.init({
    'name': Sequelize.STRING,
    'account': Sequelize.STRING,
    'password': Sequelize.STRING,
    'token': Sequelize.STRING(510)
}, { sequelize })

module.exports = {
    User
}
